.dialog {
  outline: none;
  @apply mx-auto;
}

@screen sm {
  .dialog {
    @apply max-w-xl;
  }
}

@screen md {
  .dialog {
    @apply max-w-2xl;
  }
}

@screen lg {
  .dialog {
    @apply max-w-4xl;
  }
}

@screen xl {
  .dialog {
    @apply max-w-6xl;
  }
}

.dialog-content {
  @apply p-6 rounded-2xl shadow-xl mx-4 my-8 sm:mx-0 sm:my-16 relative h-full bg-white dark:bg-gray-800;
  /* height: 90vh; */
  /* overflow: auto; */
}
.dialog-content-big-height{
  overflow: auto;
}

.dialog-overlay {
  transition: all 0.15s ease-in-out;
  @apply bg-opacity-60 inset-0 fixed z-30 bg-black dark:bg-opacity-80 backdrop-blur-md;
}

.dialog-overlay-after-open {
  opacity: 1;
}

.dialog-overlay-before-close {
  opacity: 0;
}
